package cn.virens.util.poi.read.impl;

import cn.virens.util.poi.ReadUtil;
import cn.virens.util.poi.read.CellReader;

public class FloatCellReader extends CellReader<Float> {

	private static final long serialVersionUID = 1L;

	public FloatCellReader(int index, String name) {
		this.setName(name);
		this.setIndex(index);
		this.setReadListener((cell, cellObject) -> {
			return ReadUtil.getFloat(cell);
		});
	}
}
